<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">

		<title>个人资料</title>

		<link href="/static/user/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css">
		<link href="/static/user/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css">

		<link href="/static/user/css/personal.css" rel="stylesheet" type="text/css">
		<link href="/static/user/css/infstyle.css" rel="stylesheet" type="text/css">
		<script src="/static/user/AmazeUI-2.4.2/assets/js/jquery.min.js" type="text/javascript"></script>
		<script src="/static/user/AmazeUI-2.4.2/assets/js/amazeui.js" type="text/javascript"></script>
	
	</head>

	<body>
		<!--头 -->
		<header>
			<article>
				<div class="mt-logo">
					<!--顶部导航条 -->
					<div class="am-container header">
						<ul class="message-r">
							<div class="topMessage home">
								<div class="menu-hd"><a href="/" target="_top" class="h">商城首页</a></div>
							</div>
							<div class="topMessage my-shangcheng">
								<div class="menu-hd MyShangcheng"><a href="/person" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a></div>
							</div>
							<div class="topMessage mini-cart">
								<div class="menu-hd"><a id="mc-menu-hd" href="/user/cart/getcart" target="_top"><i class="am-icon-shopping-cart  am-icon-fw"></i><span>购物车</span><strong id="J_MiniCartNum" class="h"></strong></a></div>
							</div>
							<div class="topMessage favorite">
								<div class="menu-hd"><a href="/user/user/logout" target="_top"><i class="am-icon-power-off am-icon-fw"></i><span>退出</span></a></div>
							</div>
							</ul>
						</div>

						<!--悬浮搜索框-->

						<div class="nav white">
							<div class="logoBig">
								<a href="/"><img src="/static/user/images/guangonglogo.jpg"/></a>
							</div>

							<div class="search-bar pr">
								<a name="index_none_header_sysc" href="#"></a>
								<form action="/user/index/search" method="GET">
									<input id="searchInput" name="name" type="text" placeholder="搜索" autocomplete="off">
									<input id="ai-topsearch" class="submit am-btn" value="搜索" index="1" type="submit">
								</form>
							</div>
						</div>

						<div class="clear"></div>
					</div>
				</div>
			</article>
		</header>
			<b class="line"></b>
		<div class="center">
			<div class="col-main">
				<div class="main-wrap">

					<div class="user-info">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">个人资料</strong> / <small>Personal&nbsp;information</small></div>
						</div>
						<hr/>

						<!--头像 -->
						<div class="user-infoPic">
							<form action="/user/Person/imag" enctype="multipart/form-data" method="post">
								<div class="filePic">
									<input type="file" name="picture" class="inputPic" allowexts="gif,jpeg,jpg,png,bmp">
									<img class="am-circle am-img-thumbnail" src="/static/user/uploads/picture/{$user.picture}" alt=""/>
								</div>

								<div class="info-m">
									<div><b>用户名：<i>{$user.name}</i></b></div>
									<div class="u-level">
									</div>
								</div>

								<div class="info-bt">
									<input type="submit"  value="更新头像" class="am-btn am-btn-danger">
								</div>
							</form>
						</div>

						<!--个人信息 -->
						<div class="info-main">
							<form action="/user/Person/setinformation" method="POST" class="am-form am-form-horizontal">

								<div class="am-form-group">
									<label for="user-name2" class="am-form-label">用户名</label>
									<div class="am-form-content">
										<input type="text" name="name" id="user-name2" placeholder="{$user.name}" disabled="disabled">
									</div>
								</div>

								<div class="am-form-group">
									<label for="user-name" class="am-form-label">昵称</label>
									<div class="am-form-content">
										<input type="text" name="nickname" id="user-name2" placeholder="{$user.nickname}">
									</div>
								</div>

								<div class="am-form-group">
									<label class="am-form-label">性别</label>
									<div class="am-form-content sex">
										<label class="am-radio-inline">
											<input type="radio" name="gender" value="男" {if $user.gender == '男'}checked{/if}> 男
										</label>
										<label class="am-radio-inline">
											<input type="radio" name="gender" value="女" {if $user.gender == '女'}checked{/if}> 女
										</label>
										<label class="am-radio-inline">
											<input type="radio" name="gender" value="未知" {if $user.gender == '未知'}checked{/if}> 保密
										</label>
									</div>
								</div>

								<div class="am-form-group">
									<label for="user-name2" class="am-form-label">生日</label>
									<div class="am-form-content">
										<input type="text" name="birthday" class="am-form-field" placeholder="{$user.birthday}" data-am-datepicker readonly required />
									</div>
								</div>


								<div class="am-form-group">
									<label for="user-phone" class="am-form-label">电话</label>
									<div class="am-form-content">
										<input id="user-phone" name="phone" placeholder="{$user.phone}" type="tel">

									</div>
								</div>
								<div class="am-form-group">
									<label for="user-email" class="am-form-label">电子邮件</label>
									<div class="am-form-content">
										<input id="user-email" name="email" placeholder="{$user.email}" type="email"  disabled="disabled">
									</div>
								</div>
								
								<div class="info-btn">
									<input type="submit"  value="保存修改" class="am-btn am-btn-danger">
								</div>

							</form>
						</div>

					</div>

				</div>
				<!--底部-->
				<div class="footer">
					<div class="footer-hd">
						<p>
							<a href="/">商城首页</a>
							<b>|</b>
							<a href="https://www.alipay.com/">支付宝</a>
							<b>|</b>
							<a href="https://www.kuaidi100.com/?from=openv">快递查询</a>
						</p>
					</div>
				</div>
			</div>

			<aside class="menu">
				<ul>
					<li class="person">
						<a href="/person">个人中心</a>
					</li>
					<li class="person">
						<a>个人资料</a>
						<ul>
							<li class="active"> <a href="/information">个人信息</a></li>
							<li> <a href="/safety">安全设置</a></li>
							<li> <a href="/address">收货地址</a></li>
						</ul>
					</li>
					<li class="person">
						<a>我的交易</a>
						<ul>
							<li><a href="/order?act1=1">订单管理</a></li>
						</ul>
					</li>


					<li class="person">
						<a>我的小窝</a>
						<ul>
							
							<li> <a href="/comment">评价</a></li>
						</ul>
					</li>

				</ul>

			</aside>
		</div>

	</body>

</html>